﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for B_Kandy
/// </summary>
/// 
namespace Bestlife.ERP.BusinessRules
{
    public class B_Kandy
    {
        public B_Kandy()
        {
            //
            // TODO: Add constructor logic here
            //
        }

        public static int allissuapprove(List<Bestlife.ERP.Entities.E_Issue_Ap> issu, string user,string approve,int itemcount)
        {
            return Bestlife.ERP.DataAccess.D_Kandy.allissuapprove(issu,user,approve,itemcount);
        }

        public static int approve_issu(Bestlife.ERP.Entities.E_Issue_Ap app, string user, string approve, int itemcount)
        {
            return Bestlife.ERP.DataAccess.D_Kandy.approveonebyone(app, user, approve, itemcount);
        }

        public static decimal lastnotappro_issu()
        {
            return Bestlife.ERP.DataAccess.D_Kandy.lastissunot_approve();
        }
    }
}